/**
 * 
 */
package com.zy.cat.entity.dev.garden;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zy.cat.entity.dev.resp.CatDevBeanVideoHistoryResp;
import com.zy.cat.entity.dev.resp.CatDevWelfareInfoResp;
import com.zy.cat.entity.dev.resp.CatDevWelfareInfoResp.UserTaskData;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * @author sunyuancui
 * @date   2020年12月24日
 * 
 */
@Table(name="zy_cat_user_tree_task")
@Data
@Entity
@RequiredArgsConstructor
@AllArgsConstructor
@ApiModel("果园任务数据实体类")
public class CatUserTreeTask {

	@ApiModelProperty(value = "任务标题", example = "")
	private String taskTitle;
	
	@ApiModelProperty(value = "任务总次数", example = "0")
	private Integer taskTotal;

	@ApiModelProperty(value = "任务内容", example = "")
	private String taskContent;
	
	@ApiModelProperty(value = "任务图标", example = "https://")
	private String taskPic;
	
	@Column(name = "task_btn",columnDefinition = "VARCHAR(200) DEFAULT NULL COMMENT '任务按钮'")
	@ApiModelProperty(value = "任务按钮", example = "")
	private String taskBtn;

	@Id
	@ApiModelProperty(value = "每日任务类型（10.签到、11.看视频、12.参加免费抽、13.浏览猜你喜欢、14.购买商品、15.分享微信、16.领取优惠券、17.前往游戏、18.复制商品标题）；新人任务类型（0.新用户首次奖励、1.新手教程、2.完善手机号、3.绑定公众号、4.新人首单）", example = "0")
	private int taskType; 

	@ApiModelProperty(value = "每次任务奖励肥料数量", example = "0")
	private Integer fertilizerNum;

	@ApiModelProperty(value = "是否展示(0.不展示、1.展示)", example = "1")
	private int isShow;

	@ApiModelProperty(value = "任务完成状态(0.未完成、1.已完成)", example = "0")
	private int taskStatus;

	@ApiModelProperty(value = "任务奖励领取状态(-1.无法领取、0.未领取、1.已领取)", example = "0")
	private int receiveStatus;

	@ApiModelProperty(value = "完成次数", example = "6")
	private int taskNum;
}
